import service from '../config/request.js'

class User {
    // 查询用户列表
    selectUserList = (params) =>{
        return service.get("/user/list",params)
    }

    //登录
    doLogin = (params) => {
        return service.post("/login",params)
    }
}

const userApi = new User()
export default userApi